package com.gct.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gct.domain.Art;
import com.gct.view.dto.ArtStatisticsDto;

public interface ArtMapper {
    List<Art> getArts();
    List<Art> getArtsMostPlayed();
    List<Art> getArtsMostViewed();
    List<Art> getArtsHighlyVoted();
    Art getArtDetails(@Param("id") long id);
    Art getArtURI(@Param("id") long id);
    void saveArtStatics(@Param("artStatsDto") ArtStatisticsDto statis);
    List<ArtStatisticsDto> getArtStatsByIds(@Param("artStatsDto") List<ArtStatisticsDto> statis);
}
